let yiyan = ""; // 用于存储获取的每日一言

async function getDailyQuote() {
  try {
    const response = await fetch('http://localhost:3000/daily-quote');
    yiyan = await response.text();
    console.log('通过代理获取成功:', yiyan);
  } catch (error) {
    console.error('获取失败:', error);
    yiyan = "获取每日一言失败";
  }
}

// 调用函数获取每日一言
getDailyQuote();
